Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Multiple Choice Task] Fix UI bugs in multiple choice selectors #2899

Merged
merged 17 commits into from
Dec 24, 2024

Conversation

shobhitagarwal1612
Copy link
Member

Fixes #2893

Updates UX as per figma mocks

@gino-m PTAL?

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 42.52874% with 50 lines in your changes missing coverage. Please review.

Project coverage is 61.90%. Comparing base (b0e408f) to head (4044daf).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...ion/tasks/multiplechoice/MultipleChoiceItemView.kt 35.21% 36 Missing and 10 partials ⚠️
...tasks/multiplechoice/MultipleChoiceTaskFragment.kt 66.66% 0 Missing and 3 partials ⚠️
...asks/multiplechoice/MultipleChoiceTaskViewModel.kt 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2899      +/-   ##
============================================
- Coverage     62.22%   61.90%   -0.33%     
+ Complexity     1205     1204       -1     
============================================
  Files           267      268       +1     
  Lines          6380     6441      +61     
  Branches        882      897      +15     
============================================
+ Hits           3970     3987      +17     
- Misses         1863     1898      +35     
- Partials        547      556       +9     
Files with missing lines Coverage Δ
...lection/tasks/multiplechoice/MultipleChoiceItem.kt 100.00% <100.00%> (ø)
...asks/multiplechoice/MultipleChoiceTaskViewModel.kt 92.18% <83.33%> (-0.46%) ⬇️
...tasks/multiplechoice/MultipleChoiceTaskFragment.kt 69.23% <66.66%> (+4.52%) ⬆️
...ion/tasks/multiplechoice/MultipleChoiceItemView.kt 35.21% <35.21%> (ø)

Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please paste a screenshot into the PR desc when you can. Thanks!

Copy link
Collaborator

@anandwana001 anandwana001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about taking this opportunity to migrate it to jetpack compose?

@shobhitagarwal1612
Copy link
Member Author

Marking this as draft. Working towards migrating the task's UI to compose.

@shobhitagarwal1612 shobhitagarwal1612 marked this pull request as draft December 9, 2024 03:23
@shobhitagarwal1612 shobhitagarwal1612 force-pushed the ashobhit/2893/choice-ux branch 2 times, most recently from 2adc6a8 to 459bee0 Compare December 19, 2024 11:47
@shobhitagarwal1612 shobhitagarwal1612 marked this pull request as ready for review December 20, 2024 06:51
@auto-assign auto-assign bot requested a review from anandwana001 December 20, 2024 06:51
@shobhitagarwal1612
Copy link
Member Author

@gino-m This is now ready for another pass! Migrated the UI to compose and updated styling & unit tests.

@shobhitagarwal1612 shobhitagarwal1612 merged commit cdc6847 into master Dec 24, 2024
5 checks passed
@shobhitagarwal1612 shobhitagarwal1612 deleted the ashobhit/2893/choice-ux branch December 24, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Data collection form] UI bugs in multiple choice selectors
4 participants